import { ElLoading, ElTable, ElTableColumn, ElPagination } from 'element-plus';
import JiessTable from '../../../_resource/common/modules/JiessTable/index.js';
import ProPager from '../../modules/Table/ProPager.js';
import ProTable from '../../modules/Table/ProTable.js';
import JiessMidder from '@jiess/utils/midder';
import hook from '../hook.js';
import { ref } from 'vue';
export default JiessTable(hook, {
	Midder: JiessMidder,
	fieldText: 'label',
	fieldProp: 'prop',
	ProPager: ProPager(hook, {
		Pagination: ElPagination,
	}),
	ProTable: ProTable(hook, {
		ref,
		Table: ElTable,
		TableColumn: ElTableColumn,
		Loading: ElLoading,
	})
})